package drds.common.db.xml_mapping.parameter_and_result_value_type;


import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;


public interface TypeHandler<T> {

  void setParameter(PreparedStatement preparedStatement, int index, T parameter, JdbcType jdbcType) throws SQLException;

  T getResult(ResultSet resultSet, String columnName) throws SQLException;

  T getResult(ResultSet resultSet, int columnIndex) throws SQLException;


}
